//
//  clsOtherFun.h
//  AntsExpress
//
//  Created by slccper on 16/1/1.
//  Copyright © 2016年 slccper. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import <sqlite3.h>
#import "clsUser.h"
static const NSTimeInterval kTimeoutInterval_Image = 60.0;
static const NSTimeInterval kTimeoutInterval_WebService = 60;
@interface clsOtherFun : NSObject


+ (float)MathMoney:(float)lon :(float)width :(float)height :(NSInteger)day;
+ (void)setPwd:(NSString *)pwd;
+ (void)setName:(NSString *)name;
+ (void)setReName:(NSString *)name;
+ (void)setNew:(NSString *)name;
+ (NSString *)getNew;
+ (NSString *)getReName;
+ (NSString *)getName;
+ (NSString *)getPwd;
+ (NSString *)getIsFirstRun;
+ (void)setIsFirstRun;
+ (void)setNewTitle:(NSString *)Title;
+ (void)setMemberPhone:(NSString *)user;
+ (NSString *)getNewTitle;
+(NSString *)getWSUrl:(NSString *)url;
+(NSString*)getAntsURL;
+(NSString*)getConfigValue:(NSString*)key;
+(NSString*)base64forData:(NSData*)theData;
+(void)setDeviceToken:(NSString *)token;
+(NSString *)getDeviceToken;

+(NSString *)getencodeName;
+(void)setencodeName:(NSString *)encodeName;
+(void)setUserID:(NSString *)userid;
+(NSString *)getUserID;
+(void)setUser:(clsUser *)user;
+(NSString *)getMemberId;
+(NSString *)getVIPMoney;
+(NSString *)getMemberName;
+(NSString *)getMemberPhoto;
+(NSString *)getareaRemark;
+(NSString *)getRealName;
+(NSString *)getMemberSex;
+(NSString *)getBirthday;
+(NSString *)getQQ;
+(NSString *)getwechart;
+(NSString *)getMemberPhone;
+(NSString *)getEmail;
+(NSString *)getAddress;
+(NSString *)getResivePwd;
+(void)setVIPMoney:(NSString *)Money;
+(void)setEmail:(NSString *)Email;
+(void)setwechart:(NSString *)wechart;
+(void)setqq:(NSString *)qq;
+(void)setResivePwd:(NSString *)ResivePwd;
+(void)setMemberPhoto:(NSString *)user;
+(void)setAddress:(NSString *)user;
+(void)setMemberSex:(NSString *)MemberSex;
+(NSString *)getHttpBody:(NSDictionary *)message;
+(void)ShowNoNetworkMsg;
+(void)ShowMsgWithNoData;
+(BOOL)CheckNetworkStatus:(BOOL) isShowMsg;
+(void)ShowMsg:(NSString *)msg;
+(SEL) selectorForColumnName: (NSString *)pcolumn;

+ (void)showLoadingView:(NSString *)title;
+ (void)hideLoadingView;

+ (void) ObjectSetValue:(NSObject *)objinstance : (NSString *)propertyname  :(NSString *)value;


+ (UIImage*) createImageWithColor: (UIColor*) color;
+ (void)addAllLayoutConstraints:(UIView *)view;
+ (NSDictionary *)visualFormatStringViewsDictionaryWithSubViews:(NSArray *)subviews;
+ (NSString *)visualFormatConstraintStringWithSubviews:(NSArray *)subviews;
+ (NSArray *)separatorWidthConstraintsWithSeparators:(NSArray *)separators;
+ (NSArray *)centerAlignmentConstraintsWithButtons:(NSArray *)buttons :(UIView *)Superview;
+ (NSString *)encryptWithText:(NSString *)sText;
+ (NSString *)decryptWithText:(NSString *)sText;

+ (void)setTest:(NSString *)test;
+ (NSString *)getTest;
@end
